package org.template.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class RedisFactory {

	@Autowired
	private HashMapRedisDao hashMapRedisDao;
	@Autowired
	private ListRedisDao listRedisDao;
	@Autowired
	private QueueRedisDao queueRedisDao;
	@Autowired
	private SetRedisDao setRedisDao;
	@Autowired
	private SortedSetRedisDao sortedSetRedisDao;
	@Autowired
	private StringRedisDao stringRedisDao;
	@Autowired
	private TopicRedisDao topicRedisDao;

	public HashMapRedisDao getHashMapRedisDao() {
		return hashMapRedisDao;
	}

	public ListRedisDao getListRedisDao() {
		return listRedisDao;
	}

	public QueueRedisDao getQueueRedisDao() {
		return queueRedisDao;
	}

	public SetRedisDao getSetRedisDao() {
		return setRedisDao;
	}

	public SortedSetRedisDao getSortedSetRedisDao() {
		return sortedSetRedisDao;
	}

	public StringRedisDao getStringRedisDao() {
		return stringRedisDao;
	}

	public TopicRedisDao getTopicRedisDao() {
		return topicRedisDao;
	}

}
